package com.moon.interface_api.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


/**
 * @author chengliang
 * @email
 * @date 2019-03-04 13:44:06
 */
@Data
public class DomainChannelDO implements Serializable {
    private static final long serialVersionUID = 1L;


    @NotNull(message = "id 不能为空")
    @ApiModelProperty(value = "id", required = true)
    private Integer id;

    @NotNull(message = " 不能为空")
    @ApiModelProperty(value = "", required = true)
    private String type;

    @NotNull(message = "渠道id 不能为空")
    @ApiModelProperty(value = "渠道id", required = true)
    private Integer channelId;

    @ApiModelProperty(value = "登录域名", required = true)
    private String loginDomain;

    @ApiModelProperty(value = "业务域名", required = true)
    private String siteDomain;

    @ApiModelProperty(value = "spread_jump_domain", required = true)
    private String spreadJumpDomain;

    @ApiModelProperty(value = "推广业务域名", required = true)
    private String spreadSiteDomain;

    @NotNull(message = "更新时间 不能为空")
    @ApiModelProperty(value = "更新时间", required = true)
    private Date createTime;
}
